package com.hao.tool.extra.cloud.module.youtu.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * description
 *
 * @author RuiHaoZ on CMHK.gz
 * @date 2020-08-26 10:10
 */
@Getter
@Setter
public class OcrResult {
    @JsonProperty("errorcode")
    private String errCode;
    @JsonProperty("errormsg")
    private String errMsg;
    @JsonProperty("session_id")
    private String sessionId;

    private List<ItemDTO> items;


    @Getter
    @Setter
    public static class ItemDTO {
        private String item;
        @JsonProperty("itemstring")
        private String itemString;
        @JsonProperty("itemconf")
        private String itemConf;

    }

}
